import { Module } from '@nestjs/common';
import { ChatGateway } from './chat.gateway';
import { TypeOrmModule } from '@nestjs/typeorm';
import Chat from 'src/entities/chat.entity';
import Friend from 'src/entities/friend.entity';
import User from 'src/entities/user.entity';
import Delivery from 'src/entities/delivery.entity';
import Apply from 'src/entities/apply.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Chat, Friend, User, Delivery, Apply])],
  providers: [ChatGateway],
  exports: [ChatGateway],
})
export class WSModule {}
